/**
 * This class stores data required to plot Clusters
 */
package org.wmine.visualization.data;

import java.util.ArrayList;

/**
 * @author Rajeev Kumar Thakur
 *
 */
public class KMeansData {
	
	String dataFile;
	int noOfAttributes;
	int noOfClusters;
	String attribute1;
	String attribute2;
	ArrayList<TupleData> clusterList;
	
	public String getAttribute1() {
		return attribute1;
	}

	public void setAttribute1(String attribute1) {
		this.attribute1 = attribute1;
	}

	public String getAttribute2() {
		return attribute2;
	}

	public void setAttribute2(String attribute2) {
		this.attribute2 = attribute2;
	}

	public ArrayList<TupleData> getClusterList() {
		return clusterList;
	}
	public TupleData getTupleDataInstance(){
		return (new TupleData());
	}
	
	public class TupleData {
		ArrayList<Double> xData;
		ArrayList<Double> yData;
		public ArrayList<Double> getXData() {
			return xData;
		}
		public void setXData(ArrayList<Double> data) {
			xData = data;
		}
		public ArrayList<Double> getYData() {
			return yData;
		}
		public void setYData(ArrayList<Double> data) {
			yData = data;
		}
	}

	public String getDataFile() {
		return dataFile;
	}

	public void setDataFile(String dataFile) {
		this.dataFile = dataFile;
	}

	public int getNoOfAttributes() {
		return noOfAttributes;
	}

	public void setNoOfAttributes(int noOfAttributes) {
		this.noOfAttributes = noOfAttributes;
	}

	public int getNoOfClusters() {
		return noOfClusters;
	}

	public void setNoOfClusters(int noOfClusters) {
		this.noOfClusters = noOfClusters;
	}

	public void setClusterList(ArrayList<TupleData> clusterList) {
		this.clusterList = clusterList;
	}

}
